package com.cavy.platform.server.domain.message;

import lombok.Data;

/**
 * @author 唐旭
 * @Date 2018/7/24
 */
@Data
public class ErrorMessage extends Message {
    public ErrorMessage() {
        type = this.getClass().getSimpleName();
    }

    public ErrorMessage(String message) {
        type = this.getClass().getSimpleName();
        this.message = message;
    }
}
